﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmListBoxListCheck.aspx.cs"
    Inherits="InnerPages_frmListBoxListCheck" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="../css/innerpage/listboxlistcheck.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/JavaScript">
function SetChecked(count,checked)
{   
    for( i=0; i < count; i ++)
    {
        document.getElementById('check' + i).checked = checked;
    }
}
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td colspan="4">
                    <asp:Panel ID="PanelCheckBox" runat="server" Height="350px" Width="400px" ScrollBars="Auto">
                        <asp:Table ID="TableCheckBox" runat="server" CellPadding="1" CellSpacing="1">
                        </asp:Table>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="BtnSelectAll" runat="server" Text="Select All" Width="70px" CssClass="btn_mouseout" onmouseover="this.className='btn_mouseover';" onmouseout="this.className='btn_mouseout'"/>
                </td>
                <td align="center">
                    <asp:Button ID="BtnUnSelectAll" runat="server" Text="UnSelect All" Width="100px" CssClass="btn_mouseout" onmouseover="this.className='btn_mouseover';" onmouseout="this.className='btn_mouseout'" />
                </td>
                <td align="center">
                    <asp:Button ID="btnOK" runat="server" Text="OK" Width="70px" OnClick="btnOK_Click" CssClass="btn_mouseout" onmouseover="this.className='btn_mouseover';" onmouseout="this.className='btn_mouseout'" />
                </td>
                <td align="center">
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="70px" OnClientClick="window.close();" CssClass="btn_mouseout" onmouseover="this.className='btn_mouseover';" onmouseout="this.className='btn_mouseout'" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
